From 42ad651914916c720cb2720559f09afdeb2b7b59 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 10 Jan 2011 23:11:00 +0100 Subject: [PATCH] Mark gtk_widget_style_attach() as deprecated. This isn't needed anymore. --- gtk/gtkwidget.c | 2 ++ gtk/gtkwidget.h | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index d1eee5b432..45b548a054 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -7792,6 +7792,8 @@ gtk_widget_get_parent (GtkWidget *widget) * (finally #GtkWidget) would attach the style itself. * * Since: 2.20 + * + * Deprecated: 3.0. This step is unnecessary with #GtkStyleContext. **/ void gtk_widget_style_attach (GtkWidget *widget) diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 090cc3b544..269807fea6 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -784,11 +784,10 @@ void gtk_widget_override_cursor (GtkWidget *widget, const GdkRGBA *cursor, const GdkRGBA *secondary_cursor); +#if !defined(GTK_DISABLE_DEPRECATED) || defined(GTK_COMPILATION) void gtk_widget_style_attach (GtkWidget *widget); -#if !defined(GTK_DISABLE_DEPRECATED) || defined(GTK_COMPILATION) - /* Widget styles. */ gboolean gtk_widget_has_rc_style (GtkWidget *widget); -- 2.30.2